home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 11735 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  875 b 

  1. Path: li.net!jeremy
  2. From: jeremy@newshost.li.net (Jeremy Markman)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: How to hide CURSOR?????
  5. Date: 25 Mar 1996 20:11:58 GMT
  6. Organization: LI Net (Long Island Network)
  7. Message-ID: <4j6ume$ehf@linet06.li.net>
  8. References: <4j4k6h$j3q@whitbeck.ncl.ac.uk>
  9. NNTP-Posting-Host: linet04.li.net
  10. X-Newsreader: TIN [version 1.2 PL2]
  11.  
  12. n387992 (Guanefu.Li@ncl.ac.uk) wrote:
  13. : I am writing a DOS application using Borland C++,
  14. : I would like to hide the cursor, and then revover it after running.
  15. : Can you tell me how to do it?
  16. : Can you give me a piece of C/C++ program?
  17.  
  18. Borland includes a library function contained in CONIO.H called 
  19. _setcursortype.
  20. Usage:
  21. _setcursortype(_NOCURSOR); // will shut off cursor
  22. _setcursortype(_NORMALCURSOR); //will turn cursor back on.
  23.  
  24. _NOCURSOR and _NORMALCURSOR are constants that Borland defines for you in 
  25. CONIO.H
  26.